<?php 

class Event_CommentPostFetch extends Crud_Event_Handler 
{
	protected $_type = 'postFetch';
	
	/**
	 * Run handler with options array.
	 * 
	 * @return void
	 */
	public function run($Db_Rowset)
	{

	
		
		$q = $Db_Rowset;
		foreach($q as &$row){
			
			$row["item_id"]='<a 
href="/product/index/id/'.$row["i_id"].'/" 
target="_blank">'.strip_tags($row["product_name"]).'</a>';
			
		}

		return $q;
	}
	
}
